<%--
  Created by IntelliJ IDEA.
  User: humeng
  Date: 2022/10/19
  Time: 10:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>倒计时</title>
</head>
<body>
<%!
    int time = 10;
%>
<%
    response.setHeader("refresh","1");
    out.println(time);
    time--;
    if (time <= 0){
        out.println("ok");
    }
%>

</body>
</html>
